All programs have been collapsed into a single file judicial_bias.do. 
The matlab code for the rank-order test is also included in the .do file for the sake of continuity.

Programs: 

- data_clean and ro_data_prep: Clean the data
- ro_data_prep: Also produces the summary statistics in table 1
- cell_gaps: Produces summary statistics in table 2
- balance: Shows the distribution of presumptive sentence length in figure 6
- ro_race: Shows descriptive/graphical evidence of rank-order violations
- matlab code: Runs GMS pre-tests, computes the Fbar statistic, and the empirical distribution of Fbar statistic
- graph_boot_f: graphs the empirical distribution of Fbar statistic

Please see Kansas Sentencing Data Instructions.docx on what variables were requested and how to apply for the Kansas sentencing data

I have also included a detailed data dictionary for the Kansas Data. 

 
